package autokeyboard.data;

import java.io.File;

public class Extension
{
	public static final String atk = "atk";
	
	public static String getExtension(File f)
	{
		String extension = null;
		
		String temp = f.getName();
		int i = temp.lastIndexOf('.');
		if(i>0 && i <temp.length() - 1)
		{
			extension = temp.substring(i+1).toLowerCase();
		}
		return extension;
	}
}
